﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Product.aspx.cs" Inherits="aspZone.Commerce.Web.App.Views.Catalog.Product" %>
<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="BreadCrumbs">
<%= Html.ActionLink("Home", "Index", "Home") %> &gt;
<% if (ViewData.Model.DefaultCategory != null) { %>
<% Html.RenderPartial("CategoryBreadCrumbItem", ViewData.Model.DefaultCategory); %>
<% } %>
 <%= Html.Encode(ViewData.Model.Name) %>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<h1><%= Html.Encode(ViewData.Model.Name) %></h1>
<%= Html.Image("~/Content/ProductImages/" + ViewData.Model.DefaultImage.Fullsize) %>
<p><%= Html.Encode(ViewData.Model.Description) %></p>
<p>Price: <%= ViewData.Model.Price.ToString("C") %></p>
<%= Html.ActionLink<CartController>(x => x.Add(ViewData.Model.Id), "Add To Cart") %>
</asp:Content>
